load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "dashboard",
    srcs = ["server.go"],
    importpath = "go.f110.dev/heimdallr/pkg/dashboard",
    visibility = ["//visibility:public"],
    deps = [
        "//pkg/auth/authn",
        "//pkg/authproxy",
        "//pkg/config/configv2",
        "//pkg/logger",
        "//pkg/rpc",
        "//pkg/rpc/rpcclient",
        "//pkg/template",
        "//tmpl/dashboard",
        "//vendor/github.com/golang-jwt/jwt",
        "//vendor/github.com/golang/protobuf/ptypes",
        "//vendor/github.com/julienschmidt/httprouter",
        "//vendor/go.uber.org/zap",
        "//vendor/golang.org/x/xerrors",
        "//vendor/google.golang.org/grpc",
    ],
)
